import java.util.Random;

/**
 * Created by dllo on 18/4/3.
 */
public class Test2 {
    public static void main(String[] args) {

      Student student = new Student();

        // 对象.方法 -> 方法的调用   java的本质对象.方法
        //     调用student对象的study()方法

        student.name = "sa";

        System.out.println("------>");
        student.study();
        System.out.println("<------");

        Student student1 = new Student();
        student1.name = "d";
        student.study();



    }
}
